Added texteditor.py

Python solution
Merge pull request #172 from rasppie/patch-3

Added texteditor.py