Implement: (1) Producer-Consumer problem with bounded buffer using semaphores (empty, full, mutex). Show pseudocode for producer() and consumer(). (2) Readers-Writers problem: multiple readers can read simultaneously, only one writer with exclusive access. Use semaphores (rw_mutex, mutex, read_count). Explain starvation issues and solutions.