EXHIBIT 10.22 STOCK PURCHASE AGREEMENT DATED NOVEMBER 1, 1999