added main method and test all steps
checked all function to getCorrect Answers. I have to correct the metod for calculate vectorR - it wasnt work before