Implement resize for Vec

This PR adds `resize()` to `Vec` in accordance with RFC 509.
"is equal to"?