adds class for gerating terminal colors

Implements a class for ANSI color escape codes for terminal output.

closes #8