Making a bar garph using text file