implemented MergeSort for Lists
implemented check for anagrams