pretty print a vector