fix nested subroutine, added @ function
program read from file, fix print, new example