add map.py, reduce.py and log file demo