(2nd semester) Database & OS: Small project about threads in Java to handle concurrency. 1. Busy Waiting + Peterson's algorithm, 2. Semaphores, 3. Synchronized (wait/notify/notifyAll)