prog.assignment2