exercise2 added titles to plots