Adding HW #2 with errors