Added latex explanation of the QBF reduction. Minor refactoring.