Main code using which time comparison is done. (The time steps will be removed later)