Simple Scanner code with wifi library for python