Assignment 2: Synchronization Solution