add isWordDelimeter function
add general code for iss#108
updatePredState method working properly
all input changes now call updatePredState
wordsLettersAct now calls updatePredState
Merge pull request #110 from OwenMcGirr/iss#108

implemented functions to update word prediction