Pattern: Singleton, Python flavour. Slight modifications to the Java one