Optimized merge_logs.py
I haven't found MergeLogsScript by Asterix and I wrote my own version. Than I found it and I also found that Asterix's version is much slower. I merged Asterix's tidiness with my efficiency (it's really many times faster) and got a file I'm including.