here's what I came up with for http://en.highscore.de/cpp/boost/, Chapter 6, exercise #1