Design of PID Controller for First and Second order System