Solution #3 for words.rb

Changed it so that the inut is all split up in the initalize
Changed the name of the input from 'word' to 'sentence'
Got rid of if conditionals in the count method and made it one unless.