Fixed lab7 problem, now runs up to a tested 10,000,000 element array