Avoiding Rivers - split to words; wrap; evaluation of rivers
built the optimum_wrap method
inlined all code. begun to golf
golfed - v1
added some comments in the ungolfed code
made the code print to STDIN