fixed bugs where the direction of edges is lost in visualisation and moving the vertices back to their origin direction
set edge direction properly
added method to reset vertex states to UNVISITED
modified algorithm interface
added state picked to get the viual picked effect back that lost due to handle the color of vertices by myself