On M.D.S. codes, arcs inPG(n, q) withq even, and a solution of three fundamental problems of B. Segre