Added comment and arranged code structure.
Added width and height properties to cell, and added table.js file to index