Implement `unique(arr)` returning the array with duplicates removed, keeping the first occurrence order.
Run your code to see results.