finish up the russian peasants algo w/ testing and cache.