Added printBoard and debugbs, Fixed split.