add assignments done in second lecture