Added code to test and gain practical knowledge of fs, more specifically fs.write and fs.read.