Understanding Prejudice and Discrimination Dynamics