prob_13 solve flowkater