simplify path
sortColor
sqrt