public int GetNeighborCount(Stall stall)
{
int stallIndex = this.stalls.IndexOf(stall);
int neighbors = 0;
if (stallIndex > 0 && this.stalls[stallIndex - 1].Person != null)
++neighbors;
if (stallIndex < this.stalls.Count - 1 && this.stalls[stallIndex + 1].Person != null)
++neighbors;
return neighbors;
}