add blog post: Array with unique values in Python with reduce