CS112 Friendship Graph Assignment