Making my homework-checking script check only the homeworks submitted on time.