solution to Simplify Path