refactors towers of hanoi and starts on mastermind classes