Wrote helper methods for base conversion