poj2334. string prefix. simple