final version homework#2