Knight's Travails solver and a simple tree/node class