added strategy pattern example in java with sort algos