corrected a bug in function collect_max_rssi() in Xbee.py and algorithms