Friendships at school: case studies in social network analysis