Learning homework the right way