Added get_error function and created Pseudo code for back_prop