added constructor with increment and return value methods as well as a c...

...hai test