threaded ant foraging simulation in Java