Updated FinderOfNextSmallestPrevLargest.java