Added a logger class.

This allows coloured output messages. Output of this program is
particularly very heavy, since we output everything which goes down the
pipes. This makes it slightly more clear.