draft of happy cube solver
a bit of cleanup