Reverse Array Without Using Another Arraylist Cannot Be Resolved