Fixed learning bug

Fixed bug that caused the array to be copied by reference instead of
value in Prey and Predator constructors. Also added hungerDeathMod as a
program parameter.