Seperate HitSet data object and HitSetIO functions for day 2 code