working implementation.  need to test twin function and fix reverse
print of solution method in solver