added the simple, randomized channel assignment algorithm