She _____ her homework when her mother came home. A. finished B. was finishing C. had finished D. will finish