Added checking for move legality; added function for removing draughts