Force Directed Algorithm