Simulating Hamiltonian Dynamics: Hamiltonian PDEs