Added while.py and improved Input.py for better validation
Merge remote-tracking branch 'origin/master'