N-Body Simulator written in C++