How Did Nationalism Tie Into Imperialism