Now prints execution time for comparing algorithms (starts when user types grid file and ends when program finishes)