Added Value object.
Using Value instead of ints in virtual machine.