Simple and fast concurrency and synchronization examples in Java