UWHPSC homework2, python coding, polynomial interpolation