Java immortals vs mortals simulation