changed to use generator comprehension
ganerators on euler 4
a bit more readable