Fixed some grid malfuntions and updated index file to demonstrate the grid usage.