ABS chapter 4

Ready for review.
It's probably good practise to initialise your variables to a value. I know Perl lets you away with it, but I feel it's worth mentioning.