more complex state test - collatz conjecture.
Add some printing
Add rpc server (basic)