Sample codes for Sage math