Reading text file isnt working

-1 and 0

0 everywhere!