initial working version, without error validation
Merge github.com:chitcode/assignment