Added a boolean for capital letter in strings