Updated random.sample

Added an option to get unique elements as in Python's random.sample