Text this: Lyapunov optimization machine learning resource allocation approach for uplink underlaid D2D communication in 5G networks