fixed whitespaces
0.2: better work with big files - read it and calculate partially, not whole file at once