Basic Python progams that performs some basic functions