[Added] singleton pattern example