Merge pull request #2 from fedsimon/master

rewrite
added shell script to run reduce
Merge pull request #3 from muleroid/master

Added reduce_all.sh