Finished up to Problem 8