add poj2965 solution