Hi Mac
Made some modifications and I think its okay now.
Now if I select on elvis on OOP4, this is the output I'm getting.
OUTPUT - oop4
=============
User known as: Peter Pan
Friends with: 3, 5
User known as: Peter Pan
Return
User known as: King of Rock
Friends with: 5, 1
User known as: King of Rock
Return
But on OOP5 I'm getting the following outputs.
OUTPUT
=======
User known as: Peter Pan
Friends with: PollenNdlanya
Friends with: Kaizer Motaung
Return
User known as: King of Rock
Friends with: Kaizer Motaung
Friends with: PeterPan
Return
User known as: Trompies
Friends with: ClarkKent
Friends with: ElvisPresley
Return
Hope this will be sufficient. I cannot think of another way of doing this