Number Base Converter written in python