Java - Reverse words

uses regex and split method on String