Parallel and Sequential Computations of Grobner Bases in C++