* minor changes
* added check for correct puzzles count
* added pthread header, to implement multithreaded execution (will implement later)