Introduction of bar array, to store lengths of the
histogram bars.