this could be used in Python3.x
added requirements and usage