nonworking version of multiply with too many print statements