working option code
None is singleton now
handling of new
more methods added
hashmap example added