wait = (waiting[0,1] or waiting[0,2] or waiting[0,3] or waiting[0,4] or waiting[0,5] or waiting[0,6] or 
        waiting[1,1] or waiting[1,2] or waiting[1,3] or waiting[1,4] or waiting[1,5] or waiting[1,6])

