Update greenBottles.py

Deleted some lines and added a for loop to increase efficiency