did problem 6; also, changed newprob.sh to be based on euler6 because 3 is now nonstandard (2 solutions)