Fixed a few minor errors

Changed width and height to size. Working on the algorithm to search for
the positions to save as unbreakable. Currently it is incorrect but it
is stroing them.
Removed last comma in output string
Implemented the split function for string

Instead of using find(","), I am using split(",") to divide the string
by commas into an array and storing that. Makes for a cleaner writeup.
Removed after implementation

Found the solution to the problem and it wasn't related to time. Instead
it was incorrect or null data stored in table. Minetest couldn't place a
nil node so it wasn't placing both nodes.