dph-examples: make nbody work with type class support