method created to convert rating integer into stars