Added a coordinate class, with a few basic methods