Create prototypeDesignPattern.js

An example of anonymous self invoking function which contains a constructor function and this function had a prototype object which contains useful methods