https://levelup.gitconnected.com/golang-interview-assignment-4-array-contains-duplicate-with-tests-839daad00696