Prime Number Program Using Lambda Functions