A Contrastive Symmetric Forward-Forward Algorithm (SFFA) for Continual Learning Tasks