https://medium.com/@ramseyjiang_22278/golang-interview-assignment-18-return-the-first-position-of-a-needle-in-a-haystack-with-two-b89e3ff98cd3