Booths Algorithm Code Example