Did problem019. Further reduced some loop limits on problem 027.