Fixed bug with getting directory of generated trees
Created separate directory to store output files and added to gitignore