hw4 tested working factors
hw4 matching cash ok