edited program

changed opening file statement
Merge branch 'master' of https://github.com/DenisOH/learning_python