Neural Network Based Approach for Learning Planning Action Models