Bugfix is_prime function from problem 35
Add trailing newlines