Drjt chapter3

Completed Chapter 3 of Learning Perl
Yeah, thought about it, but decided to go this way so there's only one if statement. Dunno if it's better or not, but this way just seems neater to me.