homework submission for assignment 2