Added update function for changing a node's value (think the
libraryfunction traverseWithKey might be for this as well, but I haven't
tried).

call it by supplying the node index, the new value and the graph, for
example: update 23 (Just 3) (createBoard) 

We will most likely store a board in the mainloop of the game, which we
then update as neccessary.