Adding random number generator for pid, mem requirements