tries safe paths first

TODO: risk unsafe path if unsafeMoves[0].distance < myHero.distance && safeMoves[0]==myHero to avoid infinite loop trap.