Added gird printint + Graph factory inits