added a counter for each pawn for easier moveFirst and Last implementation