add assignment and testing
Merge pull request #1 from joekteo/counter-object

finish assignment and testing