Functionized

Sentence generator now a funtion