add process P and failure detector class, now everything lec provide is there,rest should be our own code