Fixed and finished lab9

issue with prior version was the is_prime function always returned true.
Has been fixed now.