Moved the print line to print initial values of x upper and x lower