added some c++ goodness
Merge pull request #10 from rubicks/ceeplusplus

added some c++ goodness