Tower of Hanoi selection strategy as a cortical plan