use function instead of macro for print_array; initialize arrays manually