Direct methods for the numerical solution for second order inital value problems & their stability analysis