completed first and second homeworks