Merge pull request #21 from JonathanSalwan/master

Fix compatibility python - cf https://twitter.com/roman_soft/status/3594...
Update README.md

Type fix
Added filtering functionality, so that searching for gadgets is faster.
Added check for malloc error
Implemented comments from allanlw
Added check to short circuit the outer loop as well