this law established obligatory free and gradual elementary education