Added examples for friend and inner classes