solution to Letter case percentage https://www.codeeval.com/open_challenges/147/