Artificial Learning Algorithm From Basic