added comments to validity check in movesetchecker