Removing Duplicate Elements From Array In Java