TrialDivision, Pollard-Brent, Timechecker and a check for valid input implemented. 39 on Kattis.