Add .gitignore file.
Fix shaping bug.