a program to represent the concept of friendship