Spartan Races attracts 2,000 participants