Refractor Logic Class, add Display method for testing

Contents in the ArrayList Common.task is not the desired format.
Try to run the program and input "display", you will get what i meant.
I think the problem lies in the json class.