more functions in big int.. converted the code in rogue.h