Add circle check low level code
Add topological algorithrm
integrate circle_check and topologicsort to UI