Fixed segmentation fault: 11
Input params
Sparta-mode (inspired by PHP version)
Merge pull request #13 from devsli/master

C version bugfixes