Adding function to capitalize first letter of string