calculate cts in py
Created do and started working on the body of the programs