Ruby Challenge: Create a word occurrence counter