added analyze.sh script
added gitignore
removed trailing spaces