Added comments for some methods in StarRating class.
Rewrited checkRes() method.