conversion of bases-2