Tribonacci Triangle - My code