added test cases and output
Merge pull request #6 from pdjely/master

added test cases and output