assignment-3 from last semester