Using python to implement some arithmetic and data structure...