Implement Key Listener and Handle Submitting a Word