Adding java implementation for sorting. Augmented the go testing piece