Updated gitignore
Added some bash functions