Java library for CPU emulation