A Learning Program for Chemistry