Merge "Add reverse() method in Edge and Path classes"