Added output
Adjusted rows and columns in the horizontal solution
Corrected row and columns in the horizontal solution