Resource Allocation and Optimization in Device-to-Device Communication 5G Networks | Synapse