Add colored output option

This simply adds a switch `-c` to the command-line, which adds green-yellow-red colours to the meter.

To make it easier to code, I added `char buffer[]`, which I fill with the meter and then print to the screen in one stroke.

There is one flaw with my code: it works well only for about 80 columns, on other widths the colors will not be proportional.