Simple code with classes for practicing compilation on the command line