checking valid moves
Checks for check, moves pieces
things in a stable condition