Gui and the base backtracking algorithm added