introduced input and output for validation
Merge pull request #5 from pcbend/master

introduced input and output for validation