1.Implement class Path.