Started writing the python sketch library.