Add git ignore file
Add function comments. Replace tabs with spaces.