grid.*: added/implemented print, implemented constructor