Python binding

I made a few modifications to the makefile to use Swig (http://www.swig.org/) to automatically generate a python module that wraps the existing library.

This is especially useful as any changes to the C code will automatically be reflected in the Python binding.