move add friends to function, so as to call it again, passing it the new array when new friends are added
Removed some hardcoded data and fixing bugs