Created a hat class with shuffle, getTotalNames, and showHat methods