A C++ Termodynamic systems simulator