Moral Codes and Social Structure in Ancient Greece