Adding Prime Factors test cases & Readme. Small logic change.