python3 support

Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org>
Merge pull request #84 from chirayudesai/python3

python3 support