Code for prog. assmnt. 2
Initial version