Update HW2 Prime Factor