implement binary multiplication