Added Java version of the slug race.