Added code for basic built-in functions from Module 2 of Python docs