Delete element by index with shifting — O(n)
Enter custom array and index to view deletion step-by-step