Russian Farmer multiply algorithm