Added the writeString and it works perfectly, but I had to update the constants in writeChar from 20 and 40 to 8 and 16 since there are only 8 characters per line not 20