added a new exercise to exercise sheet 2

"Calculating a histogram"