Finished proper implementation of multiply subroutine