added rabin-vazirani algorithm