Implemented the While loop