broke validate move function up into smaller functions
canKingMove implemented--checks if king can move out of check