Add print_block and replace groups of mvaddstr with it

Close #17