Auxilary matrix in genhist
Changed selectionsort to quicksort
Fixed minor bug
Moved division by 4 from generate_histogram to display_histogram