simplify random from list solution by removing class
add ngrams problem
add sum in list less than k problem