Implemented TaskToJSONObject method to convert a task to JSONObject
implemented method to convert lists of task to JSONArray (toJSON)
developed a function to created a text file when FileHandler is created.
implemented write to file method.
implemented save method
removed unnecessary imports
Merge branches 'master' and 'master' of https://github.com/cs2103aug2014-t17-2J/main