Made the sample CS70 graph work better by extending how drawBarGraph works