Added the ability to write fewer words than what are valid. This allows for for example "exit" to be valid, even though multiple words are valid.