read and write from scores.txt working