added a makefile to install deps and run tests.
added a .travis.yml.
fixed indentation.
in python all classes should inherit object.
simplifying some code.
using format instead % for string concatenation.