Fixed an off-by-one error on accessing the array of words
Added functionality to get the word length and a bonus based on the word, as well as misc. console.log tests