Social exchange and collaboration in a reputation-based educational system