implement application4 q4
implement application4 q7
implement application4 q5, 6, 7
remove empty line
application4 q8, q9
q4 graphs