First Running Algorith for Board Gen