Remove Duplicate Elements From Array Using Java