finished first draft of hw1 for image understanding