US14-implement option to take time solving game

Add global variable and also code to set time elapsed when the
algorithms are performed.