truction of a railroad and telegraph line from the Missouri River to the Pacific Ocean, and to secure to the government the use of the same for postal, military, and other purposes, approved July first, eighteen hundred and sixty-two, so as to afford continuous railroad communication between the Union Pacific Railroad, and the head of Lake Superior.