Simple example showing two threads