example 3.10

add new PVector constructor