Added function to capitalized the first letter of a string.