Booth's multiplication algorithm