Updated structure and added logic for the quiz

imported os, sys
access form data
parsing form data for comparison