fix checking of neighbours
undo changes to print_board
make pulsar 18 square for CUDA implementation