Graphs created text doc ('out.txt'), prints data for checking purpose