Part B, small changes to hex class