euler50 needs some work with prime function