A sample implementation of the basic CP317 A3 assignment.