Why was the Treaty of Versailles needed in 1918