Added the code to redirect the webpage.

It's required for the assignment.