Refactors breed function to improve readability and clutter.
thelmuth/refactor-breed