Changed newline and space characters to be 10 and 32 as ints