A Brain-like Learning System with Supervised, Unsupervised and Reinforcement Learning