Fixed a index problem

from and to vertex indices were shifted by 1 (=> ruby starts counting at 0)
implemented neat AdjMatrix#to_s