implemented and tested getRatings (list of all ratings)