who invented homework