commiting assignment 3 for the first time, only Q1 answered