add sherlockandPairs.java