An implementation of a Lindenmayer System in C++ for use in generating fractals