Solves the N-Puzzle in solvable scenarios. Utilized depth-first and breadth-firsth solving based on arguments entered.