finished implementing QueenNode