Tracks of the Northern Pacific Railroad (NPR) reached Montana from the west in 1881 and from the east in 1882