in reply to Output split over two lines

At this stage I'm just using Windows notepad and running the program in the command prompt as I haven't gotten as far as using a proper text editor yet.
I don't know how well this might work for a newbie (and in fact am interested in hearing whether or not it does), but you might get a trial version of Komodo from ActiveState to use while you are learning the basics.