A simple port scanner in bash