Java implementation of Staack-based VM