add << operators for vec and grid