Played around with printf and the formatting codes. Probably need to do quite a bit more with this. Weird stuff happens when you combine flags.