Insurance Project in Python