more text to problem 3 and relevant figures generated