Added isSorted(source, reversed)

source = int[]
reversed = boolean