added tests and functionality for word forming for rows