refactor capitalization into function
refactor capitalization into function

this is a bit easier to follow if you treat it as one big boolean
expression instead of a sequence of ifs containing arbitrary code

tummychow/titlechaser