Added hat class under sososohan directory

A class for Hats.