finished homework, passed all tests