Data structure exercise in CLion on Mac OS X