Deep Thinking Systems: Logical Extrapolation with Recurrent Neural Networks