Quadratic Irrationals. An Introduction to Classical Number Theory.