Added command line arguments handling.

Corrected input/output to match requierments.
Compiling by hand: g++ main.cpp board.cpp solver.cpp -std=c++0x -o
15Puzzle.exe