fn bump_octopus( grid: &mut [u8], flashed: &mut [bool], todo: &mut Vec<usize>, index: usize, )
Increments an octopus’s energy. If it reaches 10, it flashes and is added to the queue.