             //The next to print statements were only for debugging, they serve no useful purpose to the end user             System.out.print(leftIndex);             System.out.print(upIndex);             