Python script for calculating average age of the movies cast