Update cluster.py

change self.ip to ip in connect()