Added methods texthash and answerhash to simplify the writing of the quiz. Issue #3