Update board.c

We made a new function to validate the cpu move.