segmentation fault fixed, rand range corrected
crossing random time add, semaphores implemented, shared memory reworked
semaphores debugged, output syntax checked