Made method in hint class to take only a puzzle pointer