adds spec and src files for compareCharacters.