设计一个 data structure something like excel's cell.
The cell has two types: value type and formula type (sum of other cells). My design is as below.
type; //enum-> value or sum of other cells
Value; //if type is value, this field is the value, otherwise
other cells are needed to sum