updated ex10_Swarm to use new HTimer class