added c++ solution for 007