can now read user input and pass moves to updateState. Up next: implementation of updateState