Through its Heritage Agriculture Program, Wal-Mart is buying more and more produce from local farmers.