Create checkfile.py

this checks if a contest has ended which is already written in file has ended or is yet to occur.
Currently this checks for only codechef contests