Added testfiles, added rules so that if there are two or more options it will return the first string alphabetically, found a bug excepts nonwords into dictionary and then breaks