Added Hat class under khaliddhanani directory

A class for Hats.