Finished Prime Factor Helper and Testing