added jLib

A "lib" with useful functions. More or less the first file I've ever
created in Python.