@Zee I was actually going to post that method instead of mine, but I figured the array method may be a bit easier to understand and manipulate.