quad.py
The class of reduced quadratic forms.
Create an instance with f. f is a list of integers of length 3. u is of the same type representing the unit form of the same discriminant.