Added examples on how to use various methods in Path interface