Ex 48: Renamed some stuff, reformatted word_type_tester to be a function, and tested everything.