Initial commit for python3 users

The initial program wasn't working in python3 so i optimized it for python3 users.