generator based producer consumer
euler.net problem 4