Nationalism as a cause of World War I