Record: implemented  __int__, __hash__, __eq__, __ne__ methods