when did compulsory education start