Social network (java training project).