GUI for representation Little method for finding optimal path.