Complete the following steps:
- Clone or Fork this project to your github
- Add a second textField below the first with 20pt space between.
- Write the anagram function (details below)
- Write unit tests to validate the code
- Push changes to your remote
- Reply to the given email immediately after changes are pushed with link to the repo
โ๏ธ If the steps are not followed the task is considered incomplete
Create a function that returns a boolean based on the following criteria
- The contents of the second textField is an anagram of the contents of the first
- Both empty should return false
- Spacing shouldn't matter
- Capitalization shouldn't matter
- "Dormitory", "Dirty room" is true
- "Listen", "silent" is true
- "The eyes", "They see " is true
- "what", "what" is false <- same word is not an anagram
- "not", "same" is false