add partition-vec to utils
Merge pull request #2 from yeller/add_partition_vec

add partition-vec to utils