A Randomized Low Latency Resource Sharing Algorithm for Fog Computing