Stanford prison experiment

Tell me your thoughts about this experiment?
How if any do you think it can be related to prejudice based on stereotypes?