Updated Javadoc, added an implementation of the in place reversing algorithm