Write Python code to generate N Tribonacci numbers