S2 TECHNOLOGIES, INC. SERIES B PREFERRED STOCK PURCHASE AGREEMENT OCTOBER 18, 2001