function colour(c, str) {
  return (colour[c] || colour.black) + str + colour.black;
}
Encodes a string in a colour: red, yellow or green
@param  {String} c   colour to highlight in
@param  {String} str the string to encode
@return {String}     coloured string for terminal printing