Some problems in algorithmization and heuristics in instruction