Gett interview question

Implement a singleton