Returns the center of a shape Shape can be: rectangle, triangle, circle