Text this: Design and Analysis of Buffer-Aided Cooperative Networks using Deterministic and Reinforcement Learning Techniques