added implementation for word>width (Note: need to fix bug that leaves out a line before last word).