Setup while loop and finished

Setup while loop and finished assignment