added value grabbing to the sudoku buttons