Update greenBottles.py

Used a while loop and varibles