CODE TWO

NOTE: You need a working function called star which takes a number as input for this function to work.