implementing callBack function
Merge branch 'master' of https://github.com/Jerskouille/partition-generator