Updated wrapper and client script

- Moved wrapper functions to inside a namespace
- Added printStats() support
- GeneratePuzzle() now returns a const int*
- Miscellaneous fixes