career cup exercises in c++ and pythons