I keep getting heap corruption once my program gets to the first delete[]. My program takes 10,000 integers and puts them in an array, and I have to find the times for each sort