It now checks horizontally. You...

...have to fix so that it checks vertically and diagonally