NU_EECS_332_hw4_histogram_based