added stemming and lower casing

and proper iteration