prog assignment solved