improved codechef_extracter.py