wrote a little multithreaded/concurrent Java