Work: complete 'get_adjacent_deads' function