public static void main(String[] args) {

Dice dice = new Dice();
//creating the rents
int rents[][] = {
{2, 10, 30, 90, 160, 250},//Crumlin
{4, 20, 60, 180, 320, 450},//Kimmage
{25, 50, 100, 200},//Bus Aras
{6, 30, 90, 270, 400, 550},//Rathgar
{6, 30, 90, 270, 400, 550},//Sth Circular Road
{8, 40, 100, 300, 450, 600},//Rathgar
{10, 50, 150, 450, 625, 750},//Rathmines
{10, 50, 150, 450, 625, 750},//Dawson st
{10, 50, 150, 450, 625, 750},//Kildare St
{12, 60, 180, 500, 700, 900},//Nassau St
{25, 50, 100, 200},//Dublin airport
{14, 70, 200, 550, 750, 950},//Pearse st
{14, 70, 200, 550, 750, 950},//DameSt
{16, 80, 220, 600, 800, 1000},//Westmoreland
{18, 90, 250, 700, 875, 1050},//Abbey St
{18, 90, 250, 700, 875, 1050},//Capel st
{20, 100, 300, 750, 925, 1100},//Henry St
{25, 50, 100, 200},//Heuston Station
{22, 110, 330, 800, 975, 1150},//Talbot St
{22, 110, 330, 800, 975, 1150},//North Earl St
{24, 120, 360, 850, 1025, 1200},//O'Connell St
{26, 130, 390, 900, 1100, 1275},//Georges St
{26, 130, 390, 900, 1100, 1275},//Wicklow St
{28, 150, 450, 1000, 1200, 1400},//grafton St
{25, 50, 100, 200},//Shannon Airport
{35, 175, 500, 1100, 1300, 1500},//Ailesbury road
{50, 200, 600, 1400, 1700, 2000},//Shrewsbury Road
};


BoardSpace boardSpace[] = new BoardSpace[40];

boardSpace[0] = new BoardSpace("GO");
boardSpace[1] = new CityStreet("Crumlin", 60, rents[0]);
boardSpace[2] = new BoardSpace("Community Chest");
boardSpace[3] = new CityStreet("Kimmage", 60, rents[1]);
boardSpace[4] = new BoardSpace("Income Tax");
boardSpace[5] = new Station("Bus Aras", 200, rents[3]);
boardSpace[6] = new CityStreet("Rathgar Road", 100, rents[4]);
boardSpace[7] = new BoardSpace("Chance");
boardSpace[8] = new CityStreet("South Circular Road", 100, rents[5]);
boardSpace[9] = new CityStreet("Rathmines Road", 120, rents[6]);
boardSpace[10] = new BoardSpace("Jail");
boardSpace[11] = new CityStreet("Dawson Street", 140, rents[7]);
boardSpace[12] = new Utility("Electric Company", 150);
boardSpace[13] = new CityStreet("Kildare Street", 140, rents[8]);
boardSpace[14] = new CityStreet("Nassau Street", 160, rents[9]);
boardSpace[15] = new Station("Dublin Airport", 200, rents[10]);
boardSpace[16] = new CityStreet("Pearse Street", 180, rents[11]);
boardSpace[17] = new BoardSpace("Community Chest");
boardSpace[18] = new CityStreet("Dame Street", 180, rents[12]);
boardSpace[19] = new CityStreet("Westmoreland Street", 200, rents[13]);
boardSpace[20] = new BoardSpace("Free Parking");
boardSpace[21] = new CityStreet("Abbey Street", 220, rents[14]);
boardSpace[22] = new BoardSpace("Chance");
boardSpace[23] = new CityStreet("Capel Street", 220, rents[15]);
boardSpace[24] = new CityStreet("Henry Street", 240, rents[16]);
boardSpace[25] = new Station("Heuston Station", 240, rents[17]);
boardSpace[26] = new CityStreet("Talbot Street", 260, rents[18]);
boardSpace[27] = new CityStreet("North earl Street", 260, rents[19]);
boardSpace[28] = new Utility("Water Works", 150);
boardSpace[29] = new CityStreet("O'Connell Street", 280, rents[20]);
boardSpace[30] = new BoardSpace("Go to Jail");
boardSpace[31] = new CityStreet("Georges Street", 300, rents[21]);
boardSpace[32] = new CityStreet("Wicklow Street", 300, rents[22]);
boardSpace[33] = new BoardSpace("Community Chest");
boardSpace[34] = new CityStreet("Grafton Street", 320, rents[23]);
boardSpace[35] = new Station("Shannon Airport", 200, rents[24]);
boardSpace[36] = new BoardSpace("Chance");
boardSpace[37] = new CityStreet("Ailesbury Road", 350, rents[25]);
boardSpace[38] = new BoardSpace("Super Tax");
boardSpace[39] = new CityStreet("Shrewsbury Road", 400, rents[26]);