assignment-2 from last semester