The eye for eye law is when if one person back then kills someone they have to face the death sentence too but if they took a finger that persons finger who fell off they take one of your fingers so...
Even before Hebrew law, the oldest known reference to "an eye for an eye" is in Hammurabi's Code of Laws, circa 1760 B.C. (Hammurabi ruled from the years 1792 - 1750 B.C. in Mesopotamia.)
As far as I know, "an eye for an eye" is in the old testament of the bible, however it was Gandhi that famously said "An eye for an eye, a tooth for a tooth, will make the whole world blind and...