API til at gera grid koordinatir
Size(X,Y,=Background) Background (if any)
Name coordinatesX(coordinatelistX) Name coordinatesY(coordinatelistY)
Læt okkum gera eina simpla testcase 6×6 koordinatir
CoordinatesX(1,2,3,4,5,6) CoordnatesY(A,B,C,D,E,F)
Size 60×60 (so increment with 9 when displaying grid)
Loop DrawLine(readCoordinatesX+CoordinatesX, until no more in lists Drawline(readCoordinatesY+CoordinatesY), until no more in lists End of loop