issue #2

I have created a new dir (example3) for testing.
You did a good job creating this file.  I suggest that you convert the file to a test.    name it "stats_test.go" and put it in the same directory as "stats.go".  

an example, in this project, is a full blown server / client example.  

to run tests in go you do:   "go test"