Fixed a bug where the program would crash if the user entered an input that was not did not match the reference word length.