You have an infinite loop in your wordCounter method.

This is the third person to ask about this assignment. Perhaps you should get together and help each other. Note: help does not mean copy code.