Create addtotxtfileHW.py

have a play :)