modularized code and main just printing the median of the asphalt color