created basic prediction functionality

need to change ngram table from counts to probabilities