public void getWormPosistions(char[][] currentBoard)
    {
        int[] tempWorm = new int[4];
        int[] coords = new int[2];
        
        wormPositions.clear();
        
        for(int h = 0; h < numWorms; h++)
        {
        	for(int i = 0; i < currentBoard.length; i++)
        	{
            	for(int j = 0; j < currentBoard.length; j++)
            	{	
      	      		if(currentBoard[i][j] == (char) (h + 48))
      	      		{
      	                tempWorm = new int[4];
      	      			tempWorm[2] = i;
      	      			tempWorm[3] = j;
      	      			coords = getHeadCoords(i, j, currentBoard);
      	      			tempWorm[0] = coords[0];
      	      			tempWorm[1] = coords[1];
      	                wormPositions.add(tempWorm);
      	      		}
            	}
        	}
        }
    }