Added capitalize and title functions for strings