put together draft of print_grid program