update fn dependency in gen
add debug log utilities
closing files properly, some higher-order functions
Merge pull request #20 from bsteuber/feature/debug-utils

Debug Utils