updated problem code for euler