There's no need to use n x n matrix if the rabbits die after m months.