Finding Multiple root using Newton raphson and synthetic division