Resource allocation in SDN based 5G cellular networks