A simple number base converter