AOS Project 2. Barrier Synchronization