Here's a part of the Wikipedia of what I'm talking about. Really amazing shit.
Price developed a new interpretation of Fisher's fundamental theorem of natural selection, the Price equation, which has now been accepted as the best interpretation of a formerly enigmatic result. He wrote what is still widely held to be the best mathematical, biological and evolutionary representation of altruism. He also pioneered the application of game theory to evolutionary biology, in a co-authored 1973 paper with John Maynard Smith. Furthermore Price reasoned that in the same way as an organism may sacrifice itself and further its genes (altruism) an organism may sacrifice itself to eliminate others of the same species if it enabled closely related organisms to better propagate their related genes. This negative altruism was described in a paper published by W. D. Hamilton and is termed Hamiltonian spite.
Price’s 'mathematical' theory of altruism reasons that organisms are more likely to show altruism toward each other as they become more genetically similar to each other. As such, in a species that requires two parents to reproduce, an organism is most likely to show altruistic behavior to a biological parent, full sibling, or direct offspring. The reason for this is that each of these relatives’ genetic make up contains (on average in the case of siblings) 50% of the genes that are found in the original organism. So if the original organism dies as a result of an altruistic act it can still manage to propagate its full genetic heritage as long as two or more of these close relatives are saved. Consequently an organism is less likely to show altruistic behavior to a biological grandparent, grandchild, aunt/uncle, niece/nephew or half-sibling(each contain one-fourth of the genes found in the original organism); and even less likely to show altruism to a first cousin (contains one-eighth of the genes found in the original organism). The theory then holds that the farther genetically removed two organisms are from each other the less likely they are to show altruism to each other. If true then altruistic (kind) behavior is not truly selfless and is instead an adaptation that organisms have in order to promote their own genetic heritage.
 Helping the homeless
Unable to accept the selfish reasoning for kindness found in his own mathematical theory of altruism Price began showing an ever increasing amount (in both quality and quantity) of random kindness to complete strangers. As such Price dedicated the latter part of his life to helping the homeless, often inviting homeless people to live in his house. Sometimes, when the people in his house became a distraction, he slept in his office at the Galton Laboratory. He also gave up everything to help alcoholics, yet as he helped them they stole his belongings causing him to fall into depression.
He was eventually thrown out of his rented house due to a construction project in the area, which made him unhappy because he could no longer provide housing for the homeless. He moved to various squats in the North London area, and became depressed over Christmas, 19