Fixed eggmoves legality analysis and added ability analysis