Update Bytes_StudentAI

added validation of checkmate and stalemate flag in isValidMove