added graphs to exercise 2