Problem 027 added

triple for loop and prime check.
n^2 + an + b, where |a| < 1000 and |b| < 1000