This is a homework for implementing sparse coding to recognize faces.