I am trying to create a java program that simulates the allocation of processes in memory, the process should have a random time to finish. How can I count the time of each