Optimized determination of possible word placements for speed, made nicer solution output.
Prepared cleaning up code.