A reinforcement learning algorithm for resource provisioning in mobile edge computing network