Added capitalize and title functions for strings

are these checks required?