added practice functions from codeacademy

codeacademy: Practice Makes Perfect python lesson