changes to TowersOfHanoi