added solution to the "capitalize letter" problem