Made some minor updates to the examples.

- Updated the particles README with a note for Mac users.
- Added the Mersenne Twister algorithm to particles as a replacement for
rand().
- Added the necessary licensing info to both examples.