Hour 1.
Changed piece to enum and added functions for checking valid moves.
Added if hook parsing.