Use list.generate to fill the stars