Adding Export to text file

Write to file with PrintWriter;
using StringBuilder