c: fibonacci, next_prime, prime, sorting