SecretNumber class modified - singleton design pattern implemented