module:

a generic term for a named group of instructions.

(aka method, function, procedure, subroutine, subprogram)