If you were living in Alabama in the early 1960s and wanted to vote, you first had to answer some very difficult questions.