Programming Techniques Assignment 2