Simple implementation of grid visualizer. For HW task =]