finished writing up answers to challenge prob