Python program that counts letters in a file