Code for Programming 2 - RMiT Course Work.