A committee of bookkeepers partial to aardvarks embarked on a mission to the moon only to find that it was indeed made out of cheese.

Programming Challenge: Write a program that takes its input from a file and produces as output a list of each word that contains one or more double letters. Include the number of times the double letters occurred.


committee 3
bookkeepers 3
aardvarks 1

Use the Declaration of Independence as your input. (http://primepuzzle.com/tc/declaration_of_independence.txt)

Note: You may use any language (except COBOL :-))