Iterate Through List Using While Loop Python Break And Continue