modularised and tried to find the length and execution time of each phase
 compiled files