Pairs solved. Unsure why HashSet doesnt exist in Collections.Generic