Red Chapter 3 answers

Chapter 3 exercises/answers.
Didn't realise Java let you do printf, awesome!