made hw5_2 plot