fix implementation of constant push

The compiler now understands multiple constants and the push constant function
pushes the right reference to stack from the constant dictionary called dict.