Finished Stage 2

Wrote the code for needle in a Haystack