This is a algorithm for counting people using laser distance data