Adapter and Singleton examples added, prototype example modified