Added a timer and modified number of processes for testing.