Program can now take n from commandline
Added automatical appending of n to datafilename
Add needless newline.