Working ./Prog5 < prog5_5.dat! part 1