A.I - Implemented A* to solve the 8-puzzle problem.
python3 main.py [initial state] [heuristic] [output]
heuristic: manhattam or outplace (tiles out-of-place)
output: --terminal (print the result on terminal)
--file (export the result in a file named "output.txt"
--all (executes the above two commands together)
+---+---+---+
| 1 | 2 | 3 |
+---+---+---+
| 4 | | 5 |
+---+---+---+
| 7 | 8 | 6 |
+---+---+---+
| order |
+-----------+
|depth |cost|
+-----------+
python3 main.py 1,0,3,4,2,5,7,8,6 manhattam --terminal