The Island of Dr. Brain/Volcano

Volcano Computer Puzzle
This puzzle is a math game where a 3x3 or 4x4 is provided with empty spaces, and each row and column must be filled with numbers so that each row, column, and diagonal adds up to the sums that are specified on the bottom and right of the grid.