Creating 2DVector class