header file for reading data

What it does is to split the lines into two parts. Each line contains information of a coordinate (of a piece of wall or a gold coin) and we split into two parts, one for x and one for y.