Word optimizer should now account for which word is the most valuable
given an arraylist of words and an arraylist of spaces for them to go
on.