Added functions with tests to python topics and website.