Added toString() and serialize() to Vec2. Resolves #5