Wrote and tested Position class