nested if statements examples python