Finished!

Moved the star string to under the switch loop and moved up the if
statement to the outer for loop and changed the 0 to a 1 in the
statement and now it works!