working versions of fibonacci and prime numbers