updates to homework #7 - historgram