Small fixes to the build system
Add the function 'create_result' and example
Give variables a more meaningful name
Add NEWS file and improve README
Update version number to 0.2.2