added basic support for python3

Signed-off-by: Koby Picker <kobzorz28@gmail.com>