Added indirect friends and tests.
Moved to using a set for the friendGraph.