Simplify Path

corner cases:
/..  -> /
///  -> /
/abc//def/ghi -> /abc/def/ghi