Create hat object and hat prototype method

Implemented toString method on prototype, skeletons for add and remove
methods.
Implement hat.prototype.shake

Randomly shuffles hat.contents
Also update to loop logic in hat.prototype.toString