My solution in python to the rabbits multiplication (with death) algorithm