private Rails rails;
private ArrayList<Station> stations;
public Map() {
data = new char[mapHeight][mapWidth];
rails = new Rails();
stations = new ArrayList<>();
//initialize map data
for(int rows = 0; rows < mapHeight; rows++) {
for(int cols = 0; cols < mapWidth; cols++) {