DDR Scheme and LSTM RNN Algorithm for Building an Efficient IDS