added functionality and style

*added function for right and wrong answer
*added a counter for questions
*added an array which will hold question objects (for the result)
*added a function to send the answer
*added a function to show the results