Wrritten functions using pointers
Added Dec. to Oct. conversion