Simple Solar Planet in C++