Coding a Simple IP Scanner with Python