Practice nim solver