public void killThePlayer()
    {
        for (int r = 0; r < getNumRows(); r++)
        {
            for (int c = 0; c < getNumCols(); c++)
            {
                Location loc = new Location(r, c);
                if (get(loc) instanceof ThePlayer)
                {
                    ThePlayer p = (ThePlayer) get(loc);
                    p.removeSelfFromGrid();
                }
            }
        }
    }