Update ReverseArray.java

edited some formatting