Added Getters and Setters to the Shape class.