Add singleton patterns

Add singleton patterns, http://www.python.org/workshops/1997-10/proceedings/savikko.html