Move input parsing. Basic game loop

Parses move inputs, checks them, and indicates if they're valid. Also,
basic game loop setup.