Modeling Ethical Behavior