Completed function to determine minimum deletions that would make two
strings anagrams of each other