Update vector object to accept both input and operand. Also, change vect...

...ors from objects to dictionaries keyed by x,y,z.