An introduction to programming using python