added simplify path solution
added jump solution