CLeAR: Continual Learning on Algorithmic Reasoning for Human-like Intelligence