Adding zaino in both C++ and Java