prog. Assignment2