[reroute() function Reroutes connector so that it take the shortest possible path between the shapes it connect.]