Added board_to_int and int_to_board methods in tools.py for efficient representation of a conway board.