Simple port scan script in Python3