Synchronization & Deadlocks Assignment for Operating Systems