whitespace
grid.erl: work in progress
grid: seems to work
move type definition to the top
only export "grid" function
set threshold to number of physical nodes
added vstate_dot
properly deal with nested vstate_v case