Updated timer code. Sample problems now prints average times for each module.