Add horizontalWords method
Improve horizontalWords method