Added a while loop exercise using an external JS file