Work of Assignment 3 for the CMPT 711 class