moved isEndgame() from PositionEval-Class to Position-Class