problem with exception in pascal_triangel.py