Update Character.py

-fixed bugs
-python3 optimized
-converted tabs to spaces(pep8)