An attempt at computer learning