Adding new Algorithm to areAnagrams