basic grid rendering

todo calculate needed space
(read: x and y values)