Implemented Legal Move making. You cannot perform a move that leaves your king in check now.