added gitignore, fixed an import raise bug in python3.2