A simple compiler for a simplified programming language (Computer Science execise)