added function to suggest from tokens with frequencies
implimented super basic predictor and cleaned up code