15.4 Exercise

Write a line graph version of the graph printing functions.