adds spec and src files for getLongestWord.