Change to miniterm.py

* After exiting normally, the program will also create a csv file
* Added setup.py for use with py2exe