A C++ tool to simulate circumplanetary dust dynamics