A simple port scanner implemented in Python