Price attempted to use the principle of natural selection to investigate the genetic roots of "good and evil", creating an algorithm to calculate altruism. His findings were that all behavior (altruistic, sadistic, etc.) were the result of genetic patterns that facilitate the spread of the most adaptable genes.