WARRANT TO PURCHASE SHARES OF PREFERRED STOCK