Added barriers and 'Parameter' helper method to ACO algorithm example.