Add specs for euler problem 12.