Peru, Cuba and the struggle for freedom in Latin America