week 4 codes added
add .gitignore
revised week 4 codes