simple 2d vector class