Add an examples directory.

Rewrite the examples that we've done so far using the new
Solver-Hamiltonian object model.