Errors fixed, Made it reliable. Working code for Quiz