add mathproblem dir and implement the all range program