Here's how the code would look so far. Notice that we're using the swap function we learned in the first chapter?

Don't worry, we'll go through the code in more detail in the next chapter.

Great job!