Added example of usage,

- Added an example to demonstrate usage.
- Modified the validate function to return null if valid.
Updated README to include documentation.

- Updated README to include documentation.
- Bumped version to v0.0.2