checkPellSolution, remove bad code

+ small refactoring for normaly reading
Merge pull request #2 from pavelpower/patch-2

checkPellSolution, remove bad code