Endomorphism structure of groups of order 16