public boolean onColumnRail() {
      // if the column is railway
      
      if (col == 0 || col == 4) {
         if (row != 0 && row != 11) {
            return true;
         }
         else {
            return false;
         }
      }
      else if (col == 2 && (row == 5 || row == 6)) {
         return true;
      }
      else {
         return false;
      }
   }