code for checking if a num belongs to the fib seq
determines if two strings of chars are anagrams