Prime Factors - R | SlaveCode