Unsupervised Learning And Continual Learning In Neural Networks