CS 104: Changed friend data structure from string to list in assignment 8