Started writing AI. Completed initial function to weight locations for sale of goods