renamed kingsMovesCounter to movesCounter because it counts all moves some method extraction