Started and finished the 12th project euler problem.