public boolean isWallCollision(int x, int y, ArrayList walls)
    {
        Wall tempWall;
        
       for (int i = 0; i < walls.size(); i++)
       {
           tempWall = (Wall) walls.get(i);
           
            if(tempWall.x == x && tempWall.y == y)
            {
                return true;
            }
       }
       return false;
    }