Prog. Assignment 2