code converted to cpp and tweets analysis code was inserted