Java Stream From Array Python Example Programs