Added .pyo files to .gitignore
Added summarize_directory function