camelCase the variables and use filter instead of reduce
spaces after functions
refactor isAnagram
Move methods out into String