Fix how the alive neighbor count is calculated.
