Im building a game like Connect4 but the difference is you can connect with whatever number the user inputs.Im having a problem checking with horizontal and diagonals :