creating Matrix
first working version
comments