add blit_tile() subroutine