C++ implementation updated to accept new format of input, restructured python code, added/updated run.sh in several folders