simplified find_free_channel
Removed semicolons. Python doesn't need them