Added package to Hat and HatTest
Added main() to Hat.java
Merge pull request #4 from khaliddhanani/master

Added Hat class under khaliddhanani directory