+added 'partition', and 'repartition'

a great lib.