Text this: Developing Agent Based Modeling For Logic Programming And Reverse Analysis For Hopfield Network