adding small test cases, comments
dealing with possible overflow
being explicit about starting the count value at 1.  update coments
trying new test cases