Make heapSort accept any array length
Make heapSort accept any array length

heapSort was hard-coded to only accept a fixed array length.
makintunde/AlgorithmVisualizer,nem035/AlgorithmVisualizer,makintunde/AlgorithmVisualizer,archie94/AlgorithmVisualizer,archie94/AlgorithmVisualizer,nem035/AlgorithmVisualizer