revision to problem3 for friend keyword