TOWARDS GENERALLY INTELLIGENT MACHINES