changed max value from 255 to 256 in counting sort problem