Describe how public school teaching evolved over time and was impacted by the economic and social changes occurring in America between 1865 and 1900.