Definition of Average Case. Time Complexity