A simple solution to Assignment 1 of CS368 - Learning a New Programming Language: C++ for Java Programmers