created application for counting max, min and average of random numbers