Completed week2 hw.