detention assignments solved maths problems for children