java soluction AnagramDetection.java