Update Part2.java

This set of code finds a String "Needle", and find its index in an array "Haystack".