added reproduction code

improved the act method, animals can now reproduce

also added a number of supporting methods to allow this