added parallel and serial example

This is untested