Add some comments to Shape, and modify distanceTraveled property returned type.