Prints a vector in the console.