Changed multiplication program to shift-and-add