M102DBA homework for week 2