Exercise about the singleton pattern