fix: wrong condition is checked
Merge pull request #179 from PeterMoroz/puzzles-3-review

fix: wrong condition is checked from Peter Moroz fix to 3-ed week 3_6 task (!eof.is_open())