added a validator
feature #14 added a validator (fabpot)

This PR was merged into the master branch.

Discussion
----------

added a validator

closes #13

Commits
-------

cb4ac33 added a validator