My program is intended to take the runcount, which is a variable that stores a large integer like 10000, initialize it in the linearsearch function, and go through a loop of runcount times, creating a random number each time and searching for that random number in the array.
So for example: if my array consists of 10 integers and my run count is 10000, the loop will initialize 10000 times, creating a random number each time and searching for that said number in the array of 10 integers. If the number is found, I have to increment a counter, and return the counter to find the average number of times that number appeared