Added answers to the first three parts.