added factory to create matrix
fixed issue with string to in con
yee - we've got matrix
factory working
return list of first elements
create edge generator
added one more test case
added first step for contr
added first step of contr