well you are telling the line to replace " " with "N". Try "" instead of " ". This is replacing an empty string instead of a string that contains only a space character. When I try that, I get this: NGNENONKNENYN,NINNNDNINGN,NCNANVNEN,NCNONRNRN,NENXNPNTN,NPNSNPN,NLNINCN,NHNENRNINTN,NWNENLNLNSN,NTNSN,NTNTN N N1N0N1N0N0N0N1N0N0N0N0N,N,N,N,N,N,N,N,N,N,N N N1N0N1N0N0N1N1N0N0N0N0N,N,N,N,N,N,N,N,N,N,N N N1N0N1N0N0N1N1N0N1N0N0N,N,N,N,N,N,N,N,N,N,N N N1N0N1N0N0N3N1N2N3N0N0N,N,N,N,N,NYN
... View more