Finding value of a given Polynomial - Prepare for Exams