completed med 03

Getting the output formatted correctly was the hardest part.
Going to revise it as what I have right now is a sin.
It is 4am, so that is my excuse :)