added 008 c++ solution