Create basic while loop