object oriented implementation of an integer and double that allows for them to be arbitrarily large