Prototype design pattern added.

Prototype design pattern added. Test included. Added some nice output to
tests.