Initial c++ port

Begun porting python solutions to c++