Learning Python and C++ to write my first useful program