submititng homework assignment 2 (week 3)