<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_nn_images(self, structure, n):
 """ Get image location of all near neighbors of site with index n in structure. Args: structure (Structure):
 input structure. n (integer):
 index of site for which to determine the image location of near neighbors. Returns: images (list of 3D integer array):
 image locations of near neighbors. """


        return [e['image'] for e in self.get_nn_info(structure, n)]