Initial commit starting to convert python script into C++