counting grid class v1.1 - writing print functionality