Formatted particles example.
Replaced ad-hoc argument processing with getopt.
Cleaned up particles example.