Fix static_null usage: undefined element in array returns static_null ref, which can then be changed to something not null.
add adjacency matrix implementation to library.