simulation of booth multiplication algorithm