Playing with Java threads for fun :)